package com.guoheng.hazard.sys.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 类功能描述:　登录参数
 *
 * @author fbl
 * @date 2019-32-11 14:32
 */
@Data
public class LoginDTO {
    @NotBlank
    @Size(max = 20)
    private String username;

    @NotBlank
    @Size(max = 20)
    private String password;
}